<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@page import="com.mvc.security.SecurityConstants"%>
<%@ include file="/pages/common/header.jsp"%>
<jdf:themeFile file="jquery-1.7.2.min.js" />
	<base target="_self"/>
	<title>重置密码</title>
</head>
<body>
	<div class="editForm" style="width: 500px;">
		<h3>重置密码</h3>
		<div class="message">${message}</div>
		<div class="content">
			<form name="form1" method="post" action="../saveReset?ajax=1" onsubmit="return submitModify();">
				<input type="hidden" name="id" value="<%=request.getAttribute("id")%>" />
				<ul>
					<li style="width: 500px;">
						<label for="newPassword">新密码:</label>
						<input name="newPassword" type="password"/>
					</li>
				</ul>
				<script type="text/javascript">
					function submitModify(){
						if(document.form1.newPassword.value==""){
							alert("请输入密码!");
							return false;
						}
					}
				</script>
				<div class="btns">
					<button type="submit">提交</button>
					<button type="button" onclick="window.close()">关闭</button>
				</div>
			</form>
		</div>
	</div>
</body>
</html>
